package com.jmgd.cjlx.param.metuan;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

@JsonIgnoreProperties(ignoreUnknown = true)
public class LimitSaleInfo {
    private boolean limitSale;
    private String begin;
    private String end;
    private int type;
    private int frequency;
    private int count;
    private int version; // 添加 version 字段

    public int getVersion() {
        return version;
    }

    public void setVersion(int version) {
        this.version = version;
    }

    // Getters and setters...

    public boolean isLimitSale() {
        return limitSale;
    }

    public void setLimitSale(boolean limitSale) {
        this.limitSale = limitSale;
    }

    public String getBegin() {
        return begin;
    }

    public void setBegin(String begin) {
        this.begin = begin;
    }

    public String getEnd() {
        return end;
    }

    public void setEnd(String end) {
        this.end = end;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getFrequency() {
        return frequency;
    }

    public void setFrequency(int frequency) {
        this.frequency = frequency;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }
}